


        var watchPics = null;
        $(document).ready(function(){
            $('main .pics .palace .list p').height($('main .pics').height());
            watchPics = setInterval(function(){
                if($('main .pics')[0].className.indexOf('frozen') >= 0){
                    $('main .pics .palace .list')[0].style.height = $('main .pics .palace .list p').length * 100 + '%';
                    setTimeout(function(){
                        $('main .pics .palace .list p').css('height',('calc(100% / ' + $('main .pics .palace .list p').length + ')'));
                    },1010)
                    clearInterval(watchPics);
                }
            },10)

            $('main #team .list .itm').mouseenter(function(){
                if($(this).find('canvas').length <= 0){
                    $(this).find('.draw').append($('main #team .list .itm canvas')[0]);
                    var This = $(this);
                    setTimeout(function(){
                        This.addClass('active');
                    },10)
                }else{
                    $(this).addClass('active');
                }
            })
            $('main #team .list .itm').mouseleave(function(){
                $('main #team .list .itm').removeClass('active');
            })
            if($('.mobileDevice').length){
                $(".draw").remove();
            }
        })